package com.briup.srms.base.service;

import java.util.List;

import com.jacky.base.utils.PageVM;
import com.briup.srms.base.bean.BaseFile;

public interface IBaseFileService {

	// 分页查询
	PageVM<BaseFile> pageQuery(int page, int pageSize, String fileName, Long datasetId, String uploadDate);

	List<BaseFile> findAll();

	/**
	 * @Description: 保存或更新附件记录
	 * @Param: [baseFile]
	 * @return: void
	 * @Author: charles
	 * @Date: 2020-03-15
	 */
	void save(BaseFile baseFile) throws Exception;

	/**
	 * @Description: 通过id删除
	 * @Param: [id]
	 * @return: void
	 * @Author: charles
	 * @Date: 2020-03-16
	 */
	void deleteById(String id) throws Exception;
}
